package org.codingq92.frame.spring.clazz;

import org.codingq92.frame.spring.ann.CusComponent;
import org.codingq92.frame.spring.config.BeanPostProcess;

@CusComponent
public class MyBeanPostProcess implements BeanPostProcess {
    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) {
        System.out.println("MyBeanPostProcess.postProcessBeforeInitialization......");
        return bean;
    }

    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName) {
        System.out.println("MyBeanPostProcess.postProcessAfterInitialization......");
        return bean;
    }
}
